textiter: remove recursivity of find_by_log_attrs()
authorSébastien Wilmet <swilmet@gnome.org>
Thu, 10 Apr 2014 21:53:41 +0000 (23:53 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Sun, 13 Jul 2014 15:08:52 +0000 (17:08 +0200)
commit7f6ae622d374f2a6c5fccaa14e981c1d26cf7b35
tree1ca20e39535205d49593f1e59d5954b1cbb73820
parent97b9d8e4aea19e414c96e13149b9d1e93b1c1bc5
textiter: remove recursivity of find_by_log_attrs()

find_by_log_attrs() was a recursive function. It is replaced by an
iteration.

The already_moved_initially parameter was TRUE only for the recursive
call, so the paramater is removed.

There is also a small cleanup of the find_visible_by_log_attrs()
(remove trailing spaces, fix indentation).

There is still a part to optimize for a later commit.

https://bugzilla.gnome.org/show_bug.cgi?id=629129
gtk/gtktextiter.c